home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Demo/game to OS friendly part II
- Date: 26 Jan 1996 05:00:55 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4e9n67$ron@sunsystem5.informatik.tu-muenchen.de>
- References: <4e0jhq$f0q@sunsystem5.informatik.tu-muenchen.de> <4e114i$4o8@serpens.rhein.de> <4e371l$92b@sunsystem5.informatik.tu-muenchen.de> <4e3jld$la@serpens.rhein.de> <4e5k20$rva@sunsystem5.informatik.tu-muenchen.de> <4e64u7$a2u@serpens.rhein.de>
- NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Michael van Elst (mlelstv@serpens.rhein.de) wrote:
- : fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) writes:
-
- : >|> If you want hacks then shut down the system and reboot afterwards.
- : >naah, shut down, zzzt zzzt, how should I perform parallel reload from
- : >hd then ? :)
-
- : Simple and easy: you shouldn't, you mustn't, you can't.
-
- wait a minute, I can't ? So how vlt manages to download on hd
- while I run a editor ? :)
-
- : >|> And stand for it.
- : >Or embed it into OS as much as possible, tell the user, and stand for it.
-
- : You just create lots of garbage with this. You know that, I am telling
- : you for years and you "stand for it". That's the basic problem here.
-
- The problem disappears if I also provide selection of the 100% os fallback!
-
- : >But writepixelarray8 is known to be slower on current chipset Amigas...
-
- : Doesn't mean that you have to use hacks.
-
- Ok, I'll provide both and we'll se how the user decides.
- you would probably be the only one in this sloar system selecting
- "writepixelarray8()" on a vanilla A1200 ;)
-
- : >Well, the medium version, checking for native bitmaps (can I assume
- : >blitter present then ?)
-
- : No. Why ?
- mhm haven't you told me native = planar & in chipmem, and isn't chipmem
- something you can blitter around ?
-
- : >and using less optimal 4 pass blitter should
- : >also still be a la RKM,
-
- : Sure. I don't call this is a hack.
- yep so everybody's happy :)
-
- : >but will loose on 2x2 quite much speed
- : >vs the hack.
- : >realtimish demos on 1x1 will also loose quite some fps.
-
- : That's your opinion.
- why is this not your oppinion ? you mean 3 pass is not faster than 4
- pass ? you must be joking.
-
- : >So if user got AGA and PAL he will be happy chosing the hack.
-
- : Ah sure. He probably also feels happy that you didn't write
- : software that works on his next Amiga model because there
- : is no such model.
- So if user got no AGA or no PAL, he will be happy (?) selecting
- writepixelarray8().
-
- : >|> >yes, in can optimize that way, but this could still be less ideal
- : >|> >than direct render to vram.
- : >|>
- : >|> Sure. In the same way that WaitTOF() could suddenly busy-wait, no ?
-
- : >Do I read this right as "I don't believe direct render can be faster" ?
- : >not in demos with realtime-fx, especially 50Hz ones ?
-
- : No, you don't read this right. You simply _assume_ that the driver is
- : less than ideal than direct render to vram. This assumption is as
-
- No. I say direct render could be faster. You said "No", you don't believe
- that there is a case where "direct render can be faster". There has been
- code proving you wrong in practice.
-
- : valid is your other assumption about WaitTOF() to use busy-waiting.
-
- I assume there exist drivers that do this. you told me. you told me
- not to use hi-pri waittof therefore. you flame about things you did
- tell.
-
- : >struct display *getdisplay(320,256,8,MODE_DIRECT_RENDER|MODE_LORES);
-
- : Sorry, fails.
-
- how you want to know ? you don't know what my function does.
-
- "fails." really useful answer...
-
- : >Well, heehee, there have been cases where even a A1200 rendering to
- : >_CHIPMEM_ was faster than using fastmem+copy.
-
- : Sure ? And there have been cases where it was slower.
- yes, sure. and yes, there are cases wher it is slower.
- conclusion: you get most power is interface can handle both.
-
- : >This proves my point
-
- : No.
- this proves my point that direct render sometimes is faster. TAIC.
-
- : >(which is "rendering to vram could be faster on a certain machine
- : >running a certain gfx-engine").
-
- : You said that you need direct rendering to vram _because_ that is
- : faster. And that's wrong.
-
- I need this possibility as there are cases where it is faster.
-
- : >mhm, how does your idea handle the case "direct render" ?
-
- : I don't care. I might even support this as an unportable exception.
-
- I know :)
-
- : But more likely I would make the driver API include those higher
- : level functions that would benefit from direct rendering. The user
- : code can then ignore this topic algotether.
-
- what ? how to direct render if OS doesn't support it ?
- a hidden hint to bang the hardware by YOU ? ;) can't be ;)
-
- : >ugh. look at all those "cool workastions", SGI, wow how cool it is,
- : >we love it, but no fullscreen animation, or jerk jerk. just because
- : >they got no lores.
-
- : No. Because the system software does not support fullscreen animation.
- I bet the cheaper ones, the ones only costing as much as 20 A1200,
- got no zoom hardware anyway.
-
- : >The philosophy of Amiga has always been beeing efficient.
-
- : Poking hardware isn't efficient from a broader view.
- yep.
-
- : >At least the AMIGA hardware can do it, but some people tell
- : >not to use it ;)
-
- : If that produces junk, sure.
-
- On a vanilla A1200 it doesn't ;) Actually the only thing that can
- make my copper hack crash is - the OS! If 4.0 will make it crash
- I will ask myself why I didn't overtake the copper with a 080 poke.
-
- : >that's ok, if it can be done far beyond a frame (it's DMA should not
- : >slow down direct render) then it's ok.
-
- : Why ? It could still be faster than anything you are using now.
- yep. but not faster than same machine having lores, if blitterdma
- should brake cpu copying to vram.
-
- : >But wouldn't it be more annoying if you got a quick cpu but run also
- : >quarterscreen due to not having lores ? would be really lame.
-
- : I know what is lame.
-
- I don't believe ;)
-
- : >no. If I had designed the interface, setdisplay(struct display *) would
- : >handle the outzoom without application noticing it.
-
- : Your interface would just work on one hardware. Same as your c00l
-
- It would outzoom withouth aplication noticing it.
- It would be efficient, especially if hardwarezoomers available.
-
-
- : --
- : Michael van Elst
-
- : Internet: mlelstv@serpens.rhein.de
- : "A potential Snark may lurk in every tree."
-